package com.jhh.pay.heli.annotation;


import com.jhh.pay.heli.constant.Constant;
import com.jhh.pay.heli.interceptor.LoggingInterceptor;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Created by zhangqi on 2017/12/4.
 *
 * value  代表注入的baseUrl  默认是代付
 *
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
public @interface HeLiBaoApi {
    String value() default Constant.DAIFU;
    int[] timeOut() default {50,50,50};
    Class[] interceptor() default {LoggingInterceptor.class};
}
